package com.example.dream.learnandroid;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.Button;
import android.widget.ImageView;

import com.bumptech.glide.Glide;

public class ImageViewActivity extends AppCompatActivity {

    private ImageView mImageNet;

    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_image_view);

        mImageNet = findViewById(R.id.iv_net);
        Glide.with(this)
                .load("https://www.baidu.com/img/bd_logo1.png")
                .into(mImageNet);
    }
}
